package com.zzzzzz.content.comment;

import java.io.Serializable;
import java.util.Date;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import com.google.code.morphia.annotations.Reference;
import com.zzzzzz.account.user.UserBase;

@Entity("comment")
public class Comment implements Serializable {
	private static final long serialVersionUID = 7164554994160265981L;
	
	@Id
	private String commentId;
	private String text;
	private String topicId;
	private String userId;
	@Reference
	private UserBase userBase;
	private Date addDt;
	private Date updDt;
	private Integer status;
	
	public String getCommentId() {
		return commentId;
	}
	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getTopicId() {
		return topicId;
	}
	public void setTopicId(String topicId) {
		this.topicId = topicId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public UserBase getUserBase() {
		return userBase;
	}
	public void setUserBase(UserBase userBase) {
		this.userBase = userBase;
	}
	public Date getAddDt() {
		return addDt;
	}
	public void setAddDt(Date addDt) {
		this.addDt = addDt;
	}
	public Date getUpdDt() {
		return updDt;
	}
	public void setUpdDt(Date updDt) {
		this.updDt = updDt;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
}
